import request from '@/utils/http'

//表格数据 fluprecord
export function fluprecordList(data:any) {
    return request({
        method: 'get',
        url: '/biosample/fluprecord/list',
        params: data
    })
}

// 新增-计划ID 
export function fluprecordAllList() {
    return request({
        method: 'get',
        url: '/biosample/flupplan/AllList',
    })
}
// 新增
export function fluprecordSave(data: any) {
    return request({
        method: 'post',
        url: '/biosample/fluprecord/save',
        data
    })
}

// 修改-数据显示
export function fluprecordShow(id:number) {
    return request({
        method: 'get',
        url: `/biosample/fluprecord/info/${id}` ,
    })
}
// 修改
export function fluprecordUpdate(data:any) {
    return request({
        method: 'post',
        url: '/biosample/fluprecord/update',
        data
    })
}

// 删除：
export function fluprecordDelete(data:any) {
    return request({
        method: 'post',
        url: '/biosample/fluprecord/delete',
        data
    })
}